Web Services Developer's Guide → Web Services API Reference → SBM Administrative Web Services → Arguments → MultipleResponseItemOptions
MultipleResponseItemOptions holds the Options type, as well as an enumeration to determine if a service should stop on failure and send an error message or continue processing. It also enables you to limit the data that is returned in a response.
Name | Type | Description |
---|---|---|
options | Extension. See Options. | Options extension base. Holds a name value pairing for future elements. |
multiOption | MultipleOption | Enumeration element that holds the option to continue processing or stop when an error is encountered. |
sections | SectionsOption | Enumeration element that controls the sections of an item that should be returned. |
specifiedSections | string | If SECTIONS-SPECIFIED is used in the sections element above, enter the specified section or sections here. The available options are described below in the Usage section. |
limitedField | FieldIdentifier | Enables you to limit the return results based on one or more fields that you identify. |
The MultipleResponseItemOptions contains the same functionality as MultipleOptions, but it also enables you to limit the return results based on item sections or specific fields that you identify.
You can use a comma-separated list in specifiedSections to return only the sections of an item you want. For example:
<urn:specifiedSections>SECTION:FIXED,SECTION:EXTENDED</urn:specifiedSections>
This ensures that only the fixed and extended sections of an item are returned. Here are some of the possible sections you can specify:
<urn:specifiedSections>SECTION:ATTACHMENTS</urn:specifiedSections>
<urn:limitedField> <urn:displayName>Severity</urn:displayName> <urn:id>69</urn:id> <urn:uuid>f4eff572-2e29-4d7f-8478-8e9e16865c2c</urn:uuid> <urn:dbName>SEVERITY</urn:dbName> </urn:limitedField>
The following XML shows MultipleResponseItemOptions in the <urn:options> element of a typical call.
<urn:options> <urn:extraOption> <urn:name></urn:name> <urn:value></urn:value> </urn:extraOption> <urn:multiOption>CONTINUE-ON-FAILURE</urn:multiOption> <urn:sections>SECTIONS-SPECIFIED</urn:sections> <urn:specifiedSections>SECTION:EXTENDED</urn:specifiedSections> </urn:limitedField> </urn:options>
Copyright © 2007–2015 Serena Software, Inc. All rights reserved.